<nav id="menu-left">
    <ul>
        <?php foreach ($categories as $category) { ?>
            <?php if ($category['category_id'] == $category_id) { ?>
                <li class="nav-active"><a href="<?php echo $category['href']; ?>"><?php echo $category['name']; ?></a></li>
            <?php } else { ?>
                <li><a href="<?php echo $category['href']; ?>"><?php echo $category['name']; ?></a></li>
            <?php } ?>
        <?php } ?>
        <li><a class="bntFacebook" href="https://www.facebook.com/pages/Hot-Cold/672348952823884?ref=hl" target="_blank"><img src="<?php echo $template ?>images/bntFacebook.png"></a></li>
    </ul>
</nav>